import { defineStore } from 'pinia'
export const mainStore = defineStore('main', {
    state: () => {
    return {
     count: 0,
      name:'zc',
     }
  },
  // could also be defined as
  // state: () => ({ count: 0 })
  actions: {
    increment() {
      this.count++
    },
  },
})
